<?xml version="1.0" encoding="UTF-8"?>
<!-- 
    Document   : FileUploadExample
    Created on : 30/Jun/2008, 3:17:25
    Author     : luis.zeferino
-->
<jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:webuijsf="http://www.sun.com/webui/webuijsf">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <webuijsf:page id="page1">
            <webuijsf:html id="html1">
                <webuijsf:head id="head1">
                    <webuijsf:link id="link1" url="/resources/stylesheet.css"/>
                </webuijsf:head>
                <webuijsf:body id="body1" style="-rave-layout: grid">
                    <webuijsf:form id="form1">
                        <webuijsf:upload binding="#{FileUploadExample.fileUpload1}" id="fileUpload1" style="left: 144px; top: 72px; position: absolute; z-index: 500"/>
                        <webuijsf:label id="label1" style="height: 24px; left: 144px; top: 48px; position: absolute; width: 216px" text="Choose a File to Upload:"/>
                        <webuijsf:button actionExpression="#{FileUploadExample.uploadFileButton_action}" id="uploadFileButton"
                            style="height: 24px; left: 143px; top: 120px; position: absolute; width: 96px" text="Upload File"/>
                        <webuijsf:label id="label2" style="height: 22px; left: 144px; top: 192px; position: absolute; width: 70px" text="File Name:"/>
                        <webuijsf:label id="label3" style="height: 22px; left: 144px; top: 216px; position: absolute; width: 70px" text="File Type:"/>
                        <webuijsf:label id="label4" style="height: 24px; left: 144px; top: 240px; position: absolute; width: 48px" text="File Size:"/>
                        <webuijsf:staticText binding="#{FileUploadExample.fileNameStaticText}" id="fileNameStaticText" style="position: absolute; left: 216px; top: 192px; width: 144px; height: 24px"/>
                        <webuijsf:staticText binding="#{FileUploadExample.fileTypeStaticText}" id="fileTypeStaticText" style="height: 24px; left: 216px; top: 216px; position: absolute; width: 144px"/>
                        <webuijsf:staticText binding="#{FileUploadExample.fileSizeStaticText}" id="fileSizeStaticText" style="height: 24px; left: 216px; top: 240px; position: absolute; width: 144px"/>
                        <webuijsf:messageGroup id="messageGroup1" style="height: 70px; left: 144px; top: 264px; position: absolute; width: 216px"/>
                        <webuijsf:image binding="#{FileUploadExample.image1}" id="image1" style="left: 144px; top: 384px; position: absolute"/>
                        <webuijsf:button actionExpression="#{FileUploadExample.button1_action}" binding="#{FileUploadExample.button1}" id="button1"
                            style="height: 24px; left: 263px; top: 120px; position: absolute; width: 96px" text="Upload File TXT"/>
                        <webuijsf:textArea binding="#{FileUploadExample.textArea1}" columns="50" id="textArea1" rows="18" style="left: 384px; top: 120px; position: absolute"/>
                    </webuijsf:form>
                </webuijsf:body>
            </webuijsf:html>
        </webuijsf:page>
    </f:view>
</jsp:root>
